function getRandomNumber(range)
{
	return Math.floor(Math.random() * range);
}

function getRandomChar()
{
	var chars = "0123456789abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";
	return chars.substr( getRandomNumber(62), 1 );
}

function randomID(size)
{
	var str = "";
	for(var i = 0; i < size; i++)
	{
		str += getRandomChar();
	}
	return str;
}
function blink(o){
	o.fadeTo(200,0.3,function(){
		o.fadeTo(200,1)
	})
}
function blink_error(o){
	o.animate({color:"#F0F"},200);
	o.fadeTo(200,0.3,function(){
		o.fadeTo(200,1)
	})
}
function requireVar(v,f){
	console.log(v);
	if(v)f.call(this)
	else setTimeout(function(){requireVar(v,f)},100);
		
}
waiter_service="../../RAServices/";